<?php $this->render("mheader.php");?>

<div class="main_box">   
    <div class="w_986 create_top_buzhou create_top_set_reg"></div>
    
    <div class="w_986 plate_986">
        <div class="plate_986_bg top_bg"></div>
        <div class="plate_986_bg mid_bg">
        	<div class="w_800">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_w_660">
              <tr>
                <th width="110">序号</th>
                <th width="150">中文标题</th>
                <th width="150">类型</th>
                <th width="136">状态</th>
                <th width="136">操作</th>
                <th>排序</th>
              </tr>
              <?php 
              $arr_types = array("", "单行文本框", "多行文本框","单选按钮","多选","下拉列表","日期选择","分隔符","说明文字");
              foreach($this->items as $index=>$v):?>
              <tr id="row_<?php echo $index;?>">
                <td><?php echo $index+1;?></td>
                <td><?php echo $v['title'];?></td>
                <td><?php echo $arr_types[$v['type']];?></td>
                <td><?php if ($v['show']){?>显示<?php }else{?>隐藏<?php }?></td>
                <td><?php if ($v['type'] != 7){?><a onclick="javascript:docreate5_edit(<?php echo $this->mid?>,<?php echo $index;?>,<?php echo $this->minfo['language'];?>);" href="javascript:void(0);">编辑</a>&nbsp;&nbsp;&nbsp;&nbsp; <?php }?><a onclick="javascript:docreate5_del(<?php echo $this->mid?>,<?php echo $index;?>);" href="javascript:void(0);">删除</a></td>
                <td><a onclick="javascript:docreate5_pos(<?php echo $this->mid?>,'up', <?php echo $index;?>);" href="javascript:void(0);" class="icon_up icon_all"></a>
                    <a onclick="javascript:docreate5_pos(<?php echo $this->mid?>,'down', <?php echo $index;?>);" href="javascript:void(0);" class="icon_down icon_all"></a></td>
              </tr>
              <?php endforeach;?>
            </table>
            
            <div class=" txt_c create_btn_box">
            	<strong><a onclick="javascript:docreatemeet5_s1(<?php echo $this->mid?>, 'item', <?php echo $this->minfo['language'];?>);" href="javascript:void(0);" class="btn_blue_bor">添加栏目</a></strong>&nbsp;&nbsp;&nbsp;&nbsp; 
                <strong><a onclick="javascript:docreatemeet5_s1(<?php echo $this->mid?>, 'desc', <?php echo $this->minfo['language'];?>);"  href="javascript:void(0);" class="btn_blue_bor">添加说明</a></strong>&nbsp;&nbsp;&nbsp;&nbsp; 
                <strong><a onclick="javascript:docreatemeet5_s2_t7(<?php echo $this->mid?>);" href="javascript:void(0);" class="btn_blue_bor">添加分隔符</a></strong>
            </div>
			</div>

        	<div class="clear"></div>
            
            <div class="txt_r">
            	<a href="<?php echo $this->baseUrl;?>/?c=meetcp&a=create4&key=left&mid=<?php echo $this->mid;?>" class="line_bg_all btn_blue30">◀ 上一步</a>
                &nbsp;&nbsp;&nbsp;&nbsp;
            	<a href="<?php echo $this->baseUrl;?>/?c=meetcp&a=create6&mid=<?php echo $this->mid;?>" class="line_bg_all btn_blue30">下一步 ▶</a>                
            </div>
        </div>
    	<div class="plate_986_bg bot_bg"></div>
    </div>
    
</div>

<?php $this->render("footer.php");?>



<!--  弹出框开始 -->
<div id="div_create" style="display:none">
<input type="hidden" value="0" name="c_aid_cn" id="c_aid_cn"/>
<input type="hidden" value="0" name="c_aid_en" id="c_aid_en"/>

<div class="win_float_box" id="id_win_float_box">
	<div class="shadow"></div>
    <div class="win_box">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
          <tr>
            <th class="w_75" nowrap="nowrap">中文标题：</th>
            <td class="w_255"><input name="c_title" id="c_title" size="25" type="text" class="input_style" /></td>
            <th class="w_75 lan_en">英文标题：</th>
            <td class="lan_en" ><input name="c_entitle" id="c_entitle" size="25" type="text" class="input_style" /></td>
          </tr>
          <tr>
            <th class="w_75">类　　型：</th>
            <td colspan="3">
            	<select name="c_type" id="c_type" onchange="javascript:docreatemeet5_s2_type(this);">
            	  <option value="0">选择类型</option>
                  <option value="1">单行文本框</option>
            	  <option value="2">多行文本框</option>
            	  <option value="3">单选按钮</option>
            	  <option value="4">复选框</option>
            	  <option value="5">下拉框</option>
            	  <option value="6">日期拾取器</option>
            	</select>
            </td>
          </tr>
          <tr id="type_value" style="display:none">
            <th class="w_75" valign="top">中文值：</th>
            <td class="w_255"><textarea name="c_value" id="c_value" cols="23" rows="3" class="textarea_style" ></textarea></td>
            <th class="w_75 lan_en" valign="top">英文值：</th>
            <td class="lan_en"><textarea name="c_envalue" id="c_envalue" cols="23" rows="3" class="textarea_style"></textarea></td>
          </tr>
          <tr>
            <th class="w_75">必　　填：</th>
            <td colspan="3">
            	<label><input id="c_required_1" name="c_required" type="radio" value="1" /> 是</label>
                <label class="margin_l_30"><input id="c_required_0" name="c_required" type="radio" value="0" /> 否</label>
            </td>
          </tr>
          <tr>
            <th class="w_75">状　　态：</th>
            <td colspan="3">
            	<label><input id="c_show_1" name="c_show" type="radio" value="1" /> 显示</label>
                <label class="margin_l_30"><input id="c_show_0" name="c_show" type="radio" value="0" /> 隐藏</label>
            </td>
          </tr>
          <tr>
            <th class="w_75">中文备注：</th>
            <td class="w_255"><input name="c_beizhu" id="c_beizhu" size="25" type="text" class="input_style" /></td>
            <th class="w_75 lan_en">英文备注：</th>
            <td class="lan_en"><input name="c_enbeizhu" id="c_enbeizhu" size="25" type="text" class="input_style" /></td>
          </tr>
          <tr>
            <td colspan="4" align="center" style="height:20px;">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="4" align="center">
            	<input onclick="javascript:docreatemeet5_s2();" type="button" value="确 定" class="btn_blue26 line_bg_all">
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input onclick="javascript:tb_remove();" type="button" value="取 消" class="btn_gray26 line_bg_all">
            </td>
          </tr>
        </table>
    </div>
</div>
</div>
<!--  弹出框结束 -->




<div id="div_create_desc" style="display:none">
<div class="win_float_box" style="width:480px;">
	<div class="shadow"></div>
    <div class="win_box">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="register_table">
          <tr>
            <th class="w_75" valign="top">中文说明：</th>
            <td colspan="3"><textarea id="c_desc" name="c_desc" cols="45" rows="4" class="textarea_style" style="width:330px;" ></textarea></td>
          </tr>
          <tr>
            <td colspan="4" align="center" style="height:15px;"></td>
          </tr>
          <tr class="lan_en">
            <th class="w_75" valign="top">英文说明：</th>
            <td colspan="3"><textarea id="c_endesc" name="c_endesc" cols="45" rows="4" class="textarea_style" style="width:330px;"></textarea></td>
          </tr>
          <tr>
            <th class="w_75">状　　态：</th>
            <td colspan="3">
            	<label><input id="c_dshow1" name="c_dshow" type="radio" value="1" /> 显示</label>
                <label class="margin_l_30"><input id="c_dshow0" name="c_dshow" type="radio" value="0" /> 隐藏</label>
            </td>
          </tr>
          <tr>
            <td colspan="4" align="center" style="height:20px;">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="4" align="center">
            	<input onclick="javascript:docreatemeet5_s2();" type="button" value="确 定" class="btn_blue26 line_bg_all">
                &nbsp;&nbsp;&nbsp;&nbsp;
                <input onclick="javascript:tb_remove();" type="button" value="取 消" class="btn_gray26 line_bg_all">
            </td>
          </tr>
        </table>
    </div>
</div>
</div>






<script>
var baseUrl = "<?php echo $this->baseUrl;?>";
var arr_items = <?php echo json_encode($this->items);?>;
</script>
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/thickbox.js"></script>
<script type="text/javascript" src="js/meetcp/meet_create.js"></script>
</body>
</html>
